import Vue from "vue"
// import TaroH5 from "@tarojs/taro-h5"
import Taro from "@tarojs/taro"
import TaroUiVue from 'taro-ui-vue/src'
import 'taro-ui-vue/dist/style/index.scss'
import {myRequest} from "../util/request"
import './app.less'
import store from "./store"
import $ from 'jquery'
import vueEsign from 'vue-esign'

Vue.use(vueEsign)

Vue.config.productionTip = false
Vue.use(TaroUiVue)

// Vue.prototype.$taro = [...TaroH5]
Vue.prototype.$taro = Taro
Vue.prototype.$ = $
Vue.prototype.$myRequest = myRequest
const App = new Vue({
  store,
  render(h) {
    // this.$slots.default 是将要会渲染的页面
    return h('block', this.$slots.default)
  },
})

export default App
